﻿<%@ Page Title="Log in" Language="C#" MasterPageFile="~/MasterPages/SiteMaster.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="PRJ_LDW_Eutoliso.Account.Login" %>

<%@ Register Src="~/Account/OpenAuthProviders.ascx" TagPrefix="uc" TagName="OpenAuthProviders" %>


<asp:Content ID="Content2" ContentPlaceHolderID="headScript" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="body_pre_central" runat="server">
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="body_central" runat="server">


    <!-- Start Full Width -->
    <div class="boxes-full">

        <div class="contacttitle">

            <h2>Área de Acesso</h2>

        </div>

        <div class="boxes-padding fullpadding">

            <div id="contactwarning"></div>
            <div id="contactajax"></div>



            <div class="contacttextarea">


                <asp:Login ID="Login1" runat="server" ViewStateMode="Disabled" RenderOuterTable="false" DestinationPageUrl="~/AccountAdmin/Home.aspx">
                    <LayoutTemplate>
                        <%--<p class="validation-summary-errors">
                            <asp:Literal runat="server" ID="FailureText" />
                        </p>--%>

                        <p>
                            <h2>Por favor, preencha os campos para acessar ao sistema.</h2>
                            <p>
                            </p>
                            <br />
                            <fieldset>
                                <table>
                                    <tr>
                                        <td>
                                            <h3>&nbsp;&nbsp;
                                                <asp:Label ID="Label1" runat="server" AssociatedControlID="UserName">Usuario</asp:Label>
                                            </h3>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="UserName" runat="server" CssClass="contacttextform" Width="400" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <br />
                                            <h3>&nbsp;&nbsp;<asp:Label ID="Label2" runat="server" AssociatedControlID="Password">Senha</asp:Label>
                                            </h3>
                                        </td>
                                        <td>
                                            <br />
                                            <asp:TextBox ID="Password" runat="server" CssClass="contacttextform" TextMode="Password" Width="400" />
                                        </td>
                                    </tr>
                                </table>
                                <br />
                                <table>
                                    <tr>
                                        <td>
                                            <h3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                <asp:CheckBox ID="RememberMe" runat="server" />
                                                <asp:Label ID="Label3" runat="server" AssociatedControlID="RememberMe" CssClass="checkbox">Lembrar de mim neste computador?</asp:Label>
                                            </h3>
                                        </td>
                                        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:LinkButton ID="Button2" runat="server" CommandName="Login" CssClass="smallrectange whitebutton" OnClick="Button2_Click" Text="Entrar" />
                                        </td>
                                    </tr>
                                </table>
                            </fieldset>
                            <br />
                            <h3>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="UserName" CssClass="field-validation-error" ErrorMessage="The user name field is required." />
                            </h3>
                            <h3>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Password" CssClass="field-validation-error" ErrorMessage="The password field is required." />
                            </h3>
                        </p>
                    </LayoutTemplate>
                </asp:Login>

                <br />
                <table>
                    <tr>
                        <uc:OpenAuthProviders runat="server" ID="OpenAuthLogin" />
                        <td>
                            <%--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:CheckBox runat="server" ID="RememberMe" />
                                <asp:Label ID="Label3" runat="server" AssociatedControlID="RememberMe" CssClass="checkbox">Lembrar de mim neste computador?</asp:Label>--%>

                        </td>
                    </tr>

                    <tr>
                        <td>
                            <h3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Se você não é cadastado, cadaste-se clicando  
                            <asp:HyperLink runat="server" ID="RegisterHyperLink" ViewStateMode="Disabled" Font-Bold="True">aqui.</asp:HyperLink>
                            </h3>

                        </td>
                    </tr>

                    
                    <tr>
                        <td>
                            <h3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Se esqueceu sua senha, recupere-a clicando  
                            <asp:HyperLink runat="server" ID="HyperLink1" ViewStateMode="Disabled" Font-Bold="True" NavigateUrl="~/Account/RecuperarPass.aspx">aqui.</asp:HyperLink>
                            </h3>

                        </td>
                    </tr>

                </table>

            </div>

            <div class="contacttextboxes">

                <img src="/App_Themes/Eutoliso/images/lock_big.png" alt="" />

            </div>

        </div>

        <%--<span class="box-arrow"></span>--%>

    </div>
    <!-- End Full Width -->


</asp:Content>
